<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
    <title></title>
    <!--<link rel="stylesheet" type="text/css" href="../../static/themes/lydsjpt/css/lydsjpt.css"/>-->
    <link rel="stylesheet" th:href="@{${#themes.code('cas.login.css.file')}}"/>

</head>
<body>
<form method="post"  th:object="${credential}">
    <!--<form method="post" id="fm1" th:object="${credential}">
        onsubmit="return prepareSubmit(this);">-->
<div class="bg1"></div>
<div class="gyl">
    广西林业大数据平台

    <div class="gy2" > </div>
</div>
<div class="bg">
    <div class="wel">用户登录</div>
    <!--<div class="user" style="text-align: center">
        <div th:if="${#fields.hasErrors('*')}">
            <span style="color: #ff0515" th:each="err : ${#fields.errors('*')}" th:utext="${err}"/>
        </div>
    </div>-->
    <div class="user">
        <div id="yonghu" style="">用户名</div>
        <input class="required"
               id="username"
               size="25"
               tabindex="1"
               type="text"
               th:disabled="${guaEnabled}"
               th:field="*{username}"
               th:accesskey="#{screen.welcome.label.netid.accesskey}"
               autocomplete="off"/>
    </div>
    <div class="password" >
        <div id="yonghu" >密&nbsp;&nbsp;&nbsp;码</div>
        <!--<input class="" type="password" name="password" value="" />-->
        <input class="required"
               type="password"
               id="password"
               size="25"
               tabindex="2"
               th:accesskey="#{screen.welcome.label.password.accesskey}"
               th:field="*{password}"
               autocomplete="off"/>
    </div>
    <div class="tishi" th:if="${#fields.hasErrors('*')}">
        <span th:each="err : ${#fields.errors('*')}" th:utext="${err}" />
    </div>
    <div class="rem" >
        <input type="checkbox" name="rememberMe" id="rememberMe" value="true" tabindex="5"/>
        <div id="reb">
            记住密码
        </div>
    </div>
    <div class="fg" >
        <div style="font-size: 11px;margin-top: 11px;">
            <a style="font-size: 11px;" href="#">忘记密码？</a>
        </div>
    </div>
    <!--<input class="btn" type="button" name="登录" value="登录" />-->
    <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
    <input type="hidden" name="_eventId" value="submit"/>
    <input type="hidden" name="geolocation"/>
    <input class="btn btn-submit btn-block"
           name="submit"
           accesskey="l"
           th:value="#{screen.welcome.button.login}"
           tabindex="6"
           type="submit"/>

</div>
</form>
</body>
</html>
